import RecreationClubStart from "../views/recreation/recreationClubStart.vue";
import Club from "../views/recreation/manageInfo/manageclub.vue";
import ClubActivity from "../views/recreation/manageInfo/manageActivity.vue";
import Userclub from "../views/recreation/user/userclub.vue";
import ManageRecreationInfo from "../views/recreation/manageRecreationInfo.vue";
import HeaderStart from "../views/recreation/headerStart.vue";
import ClubInfos from "../views/recreation/clubHeader/clubInfos.vue";
import Clubpeople from "../views/recreation/manageInfo/managepeople.vue";
import Clubjoin from "../views/recreation/clubHeader/clubjoin.vue";
import Clubactreg from "../views/recreation/clubHeader/clubactreg.vue";
import Clubactivity from "../views/recreation/clubHeader/clubactivity.vue";
import HeaderRecreationInfo from "../views/recreation/headerRecreationInfo.vue";
import ManageActivity from "../views/recreation/manageInfo/manageActivity.vue";
import Manageclub from "../views/recreation/manageInfo/manageclub.vue";
import Managepeople from "../views/recreation/manageInfo/managepeople.vue";
import ManageStart from "../views/recreation/manageStart.vue";
import UserActivity from "../views/recreation/user/userActivity.vue";
import CommonStart from "../views/commonStart.vue";
import UserRules from "../views/recreation/user/userRules.vue";
import ManageclubInform from "../views/recreation/manageInfo/manageclubInform.vue";


const recreationRoutes = [
    {
        path: '/recreationClubStart',
        component: RecreationClubStart
    },
    {
        path: '/',
        component: CommonStart
    },
    {
        path: '/club' ,
        component: Club
    },
    {
        path: '/clubActivity' ,
        component: ClubActivity
    },
    {
        path: '/userclub',
        component: Userclub
    },
    {
        path: '/userRules',
        component: UserRules
    },
    {
        path: '/headerRecreationInfo',
        component: HeaderRecreationInfo,
        redirect:'/headerRecreationInfo/headerStart',
        children:[
            {
                path: 'headerStart',
                component: HeaderStart
            },
            {
                path: 'clubInfos',
                component: ClubInfos
            },
            {
                path: 'clubpeople',
                component: Clubpeople
            },
            {
                path: 'clubjoin',
                component: Clubjoin
            },
            {
                path: 'clubactreg',
                component: Clubactreg
            },
            {
                path: 'clubactivity',
                component: Clubactivity
            }
        ]
    },
    {
        path: '/manageRecreationInfo',
        component: ManageRecreationInfo,
        redirect:'/manageRecreationInfo/manageStart',
        children: [
            {
              path: 'manageStart',
              component: ManageStart
            },
            {
                path: 'manageActivity',
                component: ManageActivity
            },
            {
                path:'manageclub',
                component: Manageclub
            },
            {
                path:'managepeople',
                component: Managepeople
            },
            {
                path: 'manageclubInform',
                component: ManageclubInform
            }
        ]
    },
    {
        path: '/userActivity' ,
        component: UserActivity
    }


]

export default recreationRoutes